package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Strategy;
import cn.wolfcode.trip.base.domain.StrategyCatalog;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IStrategyCatalogService {
    PageInfo<StrategyCatalog> query(QueryObject qo);

    void saveOrUpdate(StrategyCatalog strategyCatalog);

    List<StrategyCatalog> listByStrategyId(Long strategyId);

    /**
     * 获取指定攻略地区的攻略内容
     * @param strategyId 攻略地区的id
     * @return 攻略的集合
     */
    List<StrategyCatalog> queryForStrategyId(Long strategyId);

}
